]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Use new indentation style
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 16 Feb 2021 13:26:12 +0000 (14:26 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 16 Feb 2021 13:56:20 +0000 (13:56 +0000)
Otherwise eslint will complain about the next commit.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1686>

js/ui/appDisplay.js

index 69b4d0fff5a2491ef937c07cb09917d5244be91c..72e0e53791d218c7f9c908d919f3ab8e9b7b4d7a 100644 (file)
@@ -1430,10 +1430,12 @@ var AppSearchProvider = class AppSearchProvider {
                 let name = this._systemActions.getName(id);
                 let iconName = this._systemActions.getIconName(id);
 
-                let createIcon = size => new St.Icon({ icon_name: iconName,
-                                                       width: size,
-                                                       height: size,
-                                                       style_class: 'system-action-icon' });
+                const createIcon = size => new St.Icon({
+                    icon_name: iconName,
+                    width: size,
+                    height: size,
+                    style_class: 'system-action-icon',
+                });
 
                 metas.push({ id, name, createIcon });
             }